package com.joint.base.service.impl;

import com.joint.base.dao.BaseEntityDao;
import com.joint.base.dao.StepBriefDao;
import com.joint.base.dao.TodoDataDao;
import com.joint.base.entity.StepBrief;
import com.joint.base.entity.TodoData;
import com.joint.base.entity.Users;
import com.joint.base.service.StepBriefService;
import com.joint.base.service.TodoDataService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


/**
 * Service实现类 - 
 * ============================================================================
 * 版权所有 2013
 * ----------------------------------------------------------------------------
 * 
 * @author 
 * 
 * @version 0.1 2011-6-13
 */

@Service
public class TodoDataServiceImpl extends BaseEntityServiceImpl<TodoData, String> implements TodoDataService {
    @Resource
    private TodoDataDao todoDataDao;

    @Override
    public BaseEntityDao<TodoData, String> getBaseEntityDao() {
        return todoDataDao;
    }

    @Override
    public List<TodoData> getInfoByUsers(Users users) {
        return todoDataDao.getInfoByUsers(users);
    }
}